package com.example.lib;

public class Redheadduck extends DUCK{
    @Override
    public void display() {
        System.out.println("我是红头鸭");
    }

    public Redheadduck(){
        flybeheaver = new FlyWithWing();
        quackbeheaver = new Quack();
    }
}
